package com.ruoyi.aftserv.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.oa.domain.ManageStudent;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 学生课后服务报名查询对象
 * 
 * @author 张艳羽
 * @date 2024-08-22
 */
public class AfterServiceApplyInfoQuery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public AfterServiceApplyInfoQuery(Long applyId, Long stuId) {
        this.applyId = applyId;
        this.stuId = stuId;
    }

    /** ID */
    private Long id;

    /** 报名月份ID */
    private Long applyId;
    @JsonFormat(pattern = "yyyy年MM月")
    private Date applyMonth;
    private String isApplying;

    /** 学号 */
    private String stuno;

    /** 学生ID */
    private Long stuId;
    private String stuname;
    private String classId;
    private Integer gradeNum;
    private Integer classNum;

    /** 参与类型 */
    private String isInvolved;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setStuno(String stuno) 
    {
        this.stuno = stuno;
    }

    public String getStuno() 
    {
        return stuno;
    }
    public void setStuId(Long stuId) 
    {
        this.stuId = stuId;
    }

    public Long getStuId() 
    {
        return stuId;
    }
    public void setIsInvolved(String isInvolved) 
    {
        this.isInvolved = isInvolved;
    }

    public String getIsInvolved() 
    {
        return isInvolved;
    }

    public Date getApplyMonth() {
        return applyMonth;
    }

    public void setApplyMonth(Date applyMonth) {
        this.applyMonth = applyMonth;
    }

    public String getIsApplying() {
        return isApplying;
    }

    public void setIsApplying(String isApplying) {
        this.isApplying = isApplying;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public Integer getGradeNum() {
        return gradeNum;
    }

    public void setGradeNum(Integer gradeNum) {
        this.gradeNum = gradeNum;
    }

    public Integer getClassNum() {
        return classNum;
    }

    public void setClassNum(Integer classNum) {
        this.classNum = classNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applyId", getApplyId())
            .append("stuno", getStuno())
            .append("stuId", getStuId())
            .append("isInvolved", getIsInvolved())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
